class AddressData {
  ///详细地址
  String? _addressLines;
  ///街道
  String? _feature;
  ///省
  String? _admin;
  ///市
  String? _locality;
  ///区
  String? _subLocality;
  ///所在道路
  String? _thoroughfare;

  String? get addressLines => _addressLines;
  String? get feature => _feature;
  String? get admin => _admin;
  String? get locality => _locality;
  String? get subLocality => _subLocality;
  String? get thoroughfare => _thoroughfare;

  AddressData(
      {String? addressLines,
        String? feature,
        String? admin,
        String? locality,
        String? subLocality,
        String? thoroughfare}) {
    _addressLines = addressLines;
    _feature = feature;
    _admin = admin;
    _locality = locality;
    _subLocality = subLocality;
    _thoroughfare = thoroughfare;
  }

  AddressData.fromJson(dynamic json) {
    _addressLines = json["addressLines"];
    _feature = json["feature"];
    _admin = json["admin"];
    _locality = json["locality"];
    _subLocality = json["subLocality"];
    _thoroughfare = json["thoroughfare"];
  }
}